# states and state elements attributes and child elements

The state elements have the following attributes:

- value
- patternColor
- patternStyle
- backColor
- blink
- borderColor
- stateId

Different objects have different kinds of stateId attributes, depending on the number and kind of states the object has: 2 states no error, 2 states plus Error, 255 states plus Error, 256 states no Error, and 2000 states plus Error types.

The state elements have the following child elements:

- caption
- imageSettings

## See also

states and state elements

borderColor attribute

caption element

stateID attribute - 2 states, no Error